home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Fight
/
bandit_kings.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2006-07-26
|
708b
|
36 lines
function drop_loot(item, x, y)
{
i = 1;
while(i < 7)
{
if(_root[item + i]._currentFrame == 1)
{
_root[item + i]._x = x;
_root[item + i]._y = y;
_root[item + i].gotoAndStop(2);
i = 7;
}
else
{
i++;
}
}
}
speed = 2;
speed_caravan = 1;
speed_bag = 3;
speed_chest = 4;
groundlevel = 212;
finished = false;
s_sword1 = new Sound();
s_sword1.attachSound("sword1");
s_sword2 = new Sound();
s_sword2.attachSound("sword2");
s_hit1 = new Sound();
s_hit1.attachSound("hit1");
s_hit2 = new Sound();
s_hit2.attachSound("hit2");
s_money = new Sound();
s_money.attachSound("money");
nextFrame();